package com.itkjb.leisurely.resource.sys.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itkjb.leisurely.core.base.BaseModelWithOperationFields;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色绑定菜单
 * </p>
 *
 * @author itkjb.com
 * @since 2020-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_role_menu")
@ApiModel(value="SysRoleMenuModel-模型", description="角色绑定菜单")
public class SysRoleMenuModel extends BaseModelWithOperationFields  {

    private static final long serialVersionUID=1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    @TableField("`role_id`")
    private String roleId;

    /**
     * 菜单id
     */
    @ApiModelProperty(value = "菜单id")
    @TableField("`menu_id`")
    private String menuId;


}
